package com.yilin.platform.entity.enums.user;

import com.baomidou.mybatisplus.annotation.EnumValue;

//用户类型
public enum UserType {
    adminUser(0, "系统管理用户"),
    platformUser(1, "平台用户"),
    truckerUser(2, "车主用户"),
    shipperUser(3, "货主");
    @EnumValue
    public Integer index;
    public String name;

    UserType(Integer index, String name) {
        this.index = index;
        this.name = name;
    }
}